<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>英雄列表</title>
    <link rel="stylesheet" href="/css/app.css">
</head>
<body>
    <div class="container">
        <h2>英雄列表</h2>
        <hr>
        <div class="form">
            <input type="text">
            <button>搜索</button>
        </div>
        <hr>
        <div class="hero-list">
            <% for(let i=0;i<heros.length;i++){ %>
            <div class="item">
                <img src="<%= heros[i].avatar %>" alt="">
                <p><%= heros[i].name %></p>
            </div>
            <% } %>

        </div>
    </div>
</body>
</html>